package com.ping.controller;

import com.jfinal.aop.ClearInterceptor;
import com.jfinal.aop.ClearLayer;
import com.ping.model.ResponseEnum;

public class ErrorController extends BaseController{
	
	@ClearInterceptor(ClearLayer.ALL)
	public void deny(){
		renderStatus(ResponseEnum.NOT_PERMISSION.getKey(),
				ResponseEnum.NOT_PERMISSION.getValue(),
				ResponseEnum.NOT_PERMISSION.getDesc());
		return ;
	}
}
